GET Hero Lane Distribution
/openmlbb/academy/heroes/{hero_identifier}/lane
API Path: /api/academy/heroes/{hero_identifier}/lane
Retrieve lane distribution information for a specific hero. Supports query parameters for pagination and localization.
Path parameters:
- hero_identifier: Hero identifier as numeric hero ID or hero name. Accepts values like
30,Yi Sun-shin, oryisunshin.
Query parameters:
- size: Number of items per page (minimum: 1).
- index: Page index (starting from 1).
- lang: Language code for localized content (default:
en).
The response includes hero lane distribution data:
- records: Array of hero entries, each containing:
- data:
- hero_id: Unique hero identifier.
- hero:
- data:
- roadsort: Array of lane assignments, each containing:
- _id: Unique record identifier.
- caption: Localized lane caption (e.g., '打野').
- configId: Configuration ID.
- createdAt: Creation timestamp.
- createdUser: Creator username.
- updatedAt: Last update timestamp.
- updatedUser: Last updater username.
- data:
- road_sort_id: Lane ID (e.g., '4').
- road_sort_title: Lane title (e.g., 'Jungle').
- road_sort_icon: Lane icon URL.
- roadsort: Array of lane assignments, each containing:
- data:
- data:
This endpoint is useful for:
- Analyzing hero lane preferences.
- Understanding optimal lane assignments.
- Guiding players in hero positioning strategies.
Python Example
from OpenMLBB import OpenMLBB
client = OpenMLBB()
response = client.academy.hero_lane("miya", size=20, index=1, lang="en")
print(response)
Path and Query Parameters
| Name | In | Type | Required | Default |
|---|---|---|---|---|
| hero_identifier | path | string | yes | - |
| size | query | integer | no | 20 |
| index | query | integer | no | 1 |
| lang | query | string | no | en |